package com.example.demo3.service;

import com.example.demo3.entity.Employee;

import java.util.List;
import java.util.Optional;

public interface EmployeeService {
    public List<Employee> finAll();

    public Employee finAllId(Integer Id);

    public int delEmployee(Integer id);

    public Employee findByNameAndPassword(String name,String password);
}
